package com.moyun.finance.repository;

import com.moyun.finance.entity.Bill;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface BillRepository extends JpaRepository<Bill,String>, JpaSpecificationExecutor<Bill> {
    List<Bill> findByCompanyId(String companyId);
    List<Bill> findByAccountId(String accountId);
}
